<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<HTML>

<HEAD>
<TITLE>Bienvenue au HIGH SCHOOL</TITLE>
</HEAD>

<BODY>
	<!-- Titre -->
	<div id="title" align="center">
		<h1>Bienvenue sur le portail du HIGH SCHOOL</h1>
	</div>
	<hr />
	<hr />

	<h3>Renseignez les champs suivants :</h3>
	<div id="title" align="center">
		<form:form method="post" modelAttribute="user">

			<table>
				<tr>
					<td><label>Nom : </label></td>
					<td><form:input path="firstName" /></td>
					<td><div style="color: red;">
							<form:errors path="firstName" />
						</div></td>
				</tr>
				<tr>
					<td><label>Prenom : </label></td>
					<td><form:input path="lastName" /></td>
					<td><div style="color: red;">
							<form:errors path="lastName" />
						</div></td>

				</tr>
				<tr>
					<td><label>Nom d'utilisateur : </label></td>
					<td><form:input path="userName" /></td>
					<td><div style="color: red;">
							<form:errors path="userName" />
						</div></td>
				</tr>
				<tr>
					<td><label>Mot de passe : </label></td>
					<td><form:password path="password" /></td>
					<td><div style="color: red;">
							<form:errors path="password" />
						</div></td>
				</tr>
				<tr>
					<td><label>Adresse : </label></td>
					<td><form:input path="adress" /></td>
				</tr>
				<tr>
					<td><label>Email: </label></td>
					<td><form:input path="email" /></td>
					<td><div style="color: red;">
							<form:errors path="email" />
						</div></td>

				</tr>

				<tr>
					<td colspan="2"><input type="submit" value="Valider" /></td>
				</tr>
			</table>

		</form:form>
	</div>
	

</BODY>

</HTML>